package clazz.abs.device;

public class Phone extends Device{
    @Override
    public String getSerNO()
    {
        System.out.println("手机开始获取序列号...");
        System.out.println("获取中...");
        return "123456";
    }

    public String getVersionNo()
    {
        System.out.println("手机开始获取版本号...");
        System.out.println("获取中...");
        return "8.0";
    }

    @Override
    public void charge(){
        System.out.println("手机正在充电...");
    }
}
